Skip to content

Update dependency ruby-lsp to v0.26.9 [SECURITY] - autoclosed#8921

Closed
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/rubygems-ruby-lsp-vulnerability
Closed

Update dependency ruby-lsp to v0.26.9 [SECURITY] - autoclosed#8921
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/rubygems-ruby-lsp-vulnerability

Conversation

@renovate
Copy link
Copy Markdown
Contributor

@renovate renovate Bot commented Mar 27, 2026

ℹ️ Note

This PR body was truncated due to platform limits.

This PR contains the following updates:

Package Change Age Confidence
ruby-lsp 0.17.160.26.9 age confidence

Warning

Some dependencies could not be looked up. Check the Dependency Dashboard for more information.


Ruby LSP has arbitrary code execution through branch setting

CVE-2026-34060 / GHSA-c4r5-fxqw-vh93

More information

Details

Summary

The rubyLsp.branch VS Code workspace setting was interpolated without sanitization into a generated Gemfile, allowing arbitrary Ruby code execution when a user opens a project containing a malicious .vscode/settings.json.

Other editors that support workspace setting that get automatically applied upon opening the editor and trusting the workspace are also impacted since the server is the component that performs the interpolation.

Details

The branch CLI argument passed to the ruby-lsp server was interpolated in the generated .ruby-lsp/Gemfile without sanitization. Editors that allow defining settings saved at the workspace level (e.g.: .vscode/settings.json) that gets automatically applied open the possibility to craft a malicious repository that once opened and trusted in the editor would run arbitrary code.

Impact

Code execution with the privileges of the user who opens the malicious project. Ruby LSP assumes workspace code is trusted and so opening the editor on an untrusted workspace can lead to executing potentially dangerous code.

Remediation

The rubyLsp.branch setting has been removed entirely. VS Code extensions auto-update by default, so most users will receive the fix without action. Users who have disabled auto-updates should update to extension version >= 0.10.2.

The branch CLI flag was also entirely removed from the ruby-lsp gem. For users that don't add ruby-lsp to their Gemfiles, the server should auto-update. Users with the ruby-lsp in the Gemfile and locked to a specific version should update to >= 0.26.9.

Severity

  • CVSS Score: 7.1 / 10 (High)
  • Vector String: CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

References

This data is provided by the GitHub Advisory Database (CC-BY 4.0).


Release Notes

Shopify/ruby-lsp (ruby-lsp)

v0.26.9

v0.26.9

🐛 Bug Fixes

v0.26.8

v0.26.8

🐛 Bug Fixes

📦 Other Changes

v0.26.7

v0.26.7

🐛 Bug Fixes

📦 Other Changes

v0.26.6

v0.26.6

🐛 Bug Fixes

📦 Other Changes

v0.26.5

v0.26.5

✨ Enhancements

🐛 Bug Fixes

📦 Other Changes

v0.26.4

v0.26.4

🐛 Bug Fixes

v0.26.3

v0.26.3

✨ Enhancements

🐛 Bug Fixes

📦 Other Changes

  • Speed up workspace symbol search by filtering before fuzzy matching (#​3792) by @​janko

v0.26.2

v0.26.2

✨ Enhancements

🐛 Bug Fixes

📦 Other Changes

v0.26.1

v0.26.1

🐛 Bug Fixes

📦 Other Changes

v0.26.0

v0.26.0

🚧 Breaking Changes

🐛 Bug Fixes

📦 Other Changes

v0.25.0

v0.25.0

🚧 Breaking Changes

✨ Enhancements

📦 Other Changes

v0.24.2

v0.24.2

✨ Enhancements

🐛 Bug Fixes

v0.24.1

v0.24.1

🐛 Bug Fixes

v0.24.0

v0.24.0

🚧 Breaking Changes

🐛 Bug Fixes

v0.23.24

v0.23.24

✨ Enhancements

🐛 Bug Fixes

📦 Other Changes

v0.23.23

v0.23.23

✨ Enhancements

🐛 Bug Fixes

v0.23.22

v0.23.22

🐛 Bug Fixes

📦 Other Changes

v0.23.21

v0.23.21

🐛 Bug Fixes

📦 Other Changes

v0.23.20

v0.23.20

🐛 Bug Fixes

v0.23.19

v0.23.19

🐛 Bug Fixes

v0.23.18

v0.23.18

🐛 Bug Fixes

📦 Other Changes

v0.23.17

v0.23.17

✨ Enhancements

🐛 Bug Fixes

📦 Other Changes

v0.23.16

v0.23.16

🐛 Bug Fixes

📦 Other Changes

v0.23.15

v0.23.15

✨ Enhancements

🐛 Bug Fixes

📦 Other Changes

v0.23.14

v0.23.13

v0.23.13

✨ Enhancements

🐛 Bug Fixes

📦 Other Changes

v0.23.12

v0.23.12

✨ Enhancements

🐛 Bug Fixes

📦 Other Changes

v0.23.11

v0.23.11

✨ Enhancements

🐛 Bug Fixes

📦 Other Changes

v0.23.10

v0.23.10

🐛 Bug Fixes

📦 Other Changes

v0.23.9

v0.23.9

✨ Enhancements

🐛 Bug Fixes

v0.23.8

v0.23.8

🐛 Bug Fixes

v0.23.7

v0.23.7

✨ Enhancements

🐛 Bug Fixes

v0.23.6

v0.23.6

✨ Enhancements

🐛 Bug Fixes

v0.23.5

v0.23.5

🐛 Bug Fixes

v0.23.4

v0.23.4

🐛 Bug Fixes

v0.23.3

v0.23.3

🐛 Bug Fixes

v0.23.2

v0.23.2

✨ Enhancements

🐛 Bug Fixes

v0.23.1

v0.23.1

🐛 Bug Fixes

v0.23.0

v0.23.0

🚧 Breaking Changes

✨ Enhancements

🐛 Bug Fixes

📦 Other Changes

v0.22.1

v0.22.1

✨ Enhancements

🐛 Bug Fixes

📦 Other Changes

v0.22.0

v0.22.0

🚧 Breaking Changes

✨ Enhancements

🐛 Bug Fixes

📦 Other Changes

v0.21.3

v0.21.3

✨ Enhancements

v0.21.2

v0.21.2

✨ Enhancements

🐛 Bug Fixes

📦 Other Changes


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • ""
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate Bot requested a review from a team as a code owner March 27, 2026 22:33
@renovate renovate Bot added the review:tech Request for technical review on the docs platform or processes. label Mar 27, 2026
@netlify
Copy link
Copy Markdown

netlify Bot commented Mar 27, 2026

Deploy Preview for kongdocs ready!

Name Link
🔨 Latest commit 53c389f
🔍 Latest deploy log https://app.netlify.com/projects/kongdocs/deploys/69efc975589a7e0008b24560
😎 Deploy Preview https://deploy-preview-8921--kongdocs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
9 paths audited
Performance: 64 (🟢 up 2 from production)
Accessibility: 77 (🔴 down 10 from production)
Best Practices: 99 (no change from production)
SEO: 83 (🔴 down 9 from production)
PWA: -
View the detailed breakdown and full score reports

To edit notification comments on pull requests, go to your Netlify project configuration.

@renovate renovate Bot changed the title chore(deps): update dependency ruby-lsp to v0.26.9 [security] Update dependency ruby-lsp to v0.26.9 [SECURITY] Apr 15, 2026
@renovate renovate Bot changed the title Update dependency ruby-lsp to v0.26.9 [SECURITY] Update dependency ruby-lsp to v0.26.9 [SECURITY] - autoclosed Apr 27, 2026
@renovate renovate Bot closed this Apr 27, 2026
@renovate renovate Bot deleted the renovate/rubygems-ruby-lsp-vulnerability branch April 27, 2026 16:37
@renovate renovate Bot changed the title Update dependency ruby-lsp to v0.26.9 [SECURITY] - autoclosed Update dependency ruby-lsp to v0.26.9 [SECURITY] Apr 27, 2026
@renovate renovate Bot reopened this Apr 27, 2026
@renovate renovate Bot force-pushed the renovate/rubygems-ruby-lsp-vulnerability branch 2 times, most recently from 88943fc to 53c389f Compare April 27, 2026 20:39
@renovate renovate Bot changed the title Update dependency ruby-lsp to v0.26.9 [SECURITY] Update dependency ruby-lsp to v0.26.9 [SECURITY] - autoclosed May 8, 2026
@renovate renovate Bot closed this May 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

review:tech Request for technical review on the docs platform or processes.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants